package javaRew;

/**
 * Created by xjweng on 2017/1/30.
 */
public class Circle {

    private double radius;
    public Circle(double radius){
        this.radius = radius;
    }

    public double findArea(){
        return Math.PI*radius*radius;
    }

    public void setRadius(double radius) {
        this.radius = radius;
    }

    public double getRadius() {
        return radius;
    }
}

